package Correction.Gain;

import Correction.RangingCorrectionPolynomes_t;

public class RangingCorrectionSF7BW0800 {
    private static double[] cer = {
            1.1319e-09,
            -4.0746e-07,
            5.2135e-05,
            -0.002826,
            0.060466,
            0.47938,
            1.0562,
    };
    private static RangingCorrectionPolynomes_t polynomes_t = new RangingCorrectionPolynomes_t(7,cer);
    public static RangingCorrectionPolynomes_t getPolynomes_t()
    {
        return polynomes_t;
    }
    private static double[] array =
            {
                    0.81806,
                    0.81806,
                    0.81806,
                    0.81806,
                    0.81806,
                    0.81806,
                    0.81806,
                    0.81806,
                    0.81806,
                    0.81806,
                    0.81806,
                    0.81806,
                    0.81806,
                    0.81806,
                    0.81806,
                    0.81806,
                    0.81806,
                    0.81806,
                    0.81806,
                    0.81806,
                    0.81806,
                    0.81806,
                    0.81806,
                    0.81806,
                    0.81806,
                    0.81806,
                    0.81806,
                    0.81806,
                    0.81806,
                    0.81806,
                    0.81806,
                    0.81806,
                    0.81806,
                    0.81806,
                    -2.2261,
                    1.8251,
                    3.2442,
                    2.5347,
                    3.8851,
                    3.4273,
                    3.0268,
                    2.6262,
                    2.5118,
                    3.4044,
                    2.6949,
                    2.7864,
                    2.5118,
                    2.7178,
                    2.8322,
                    2.8322,
                    2.7864,
                    3.5646,
                    3.0153,
                    3.1069,
                    3.1069,
                    2.9695,
                    2.6949,
                    2.7407,
                    2.6033,
                    2.5118,
                    2.6033,
                    2.1456,
                    2.0082,
                    2.3058,
                    2.054,
                    1.7336,
                    1.8709,
                    1.6878,
                    1.6878,
                    2.0082,
                    2.1456,
                    2.054,
                    2.1913,
                    2.1456,
                    2.2371,
                    2.0998,
                    2.0082,
                    2.0998,
                    2.7864,
                    4.0682,
                    4.114,
                    4.0682,
                    3.9309,
                    4.0224,
                    3.702,
                    3.7477,
                    3.6562,
                    3.6562,
                    3.6104,
                    3.702,
                    3.5646,
                    3.5189,
                    4.1597,
                    5.3728,
                    5.8077,
                    6.0366,
                    5.8992,
                    5.0753,
                    6.6317,
                    6.4943,
                    6.3112,
                    6.2654,
                    6.6774,
                    6.9979,
                    7.0894,
                    7.593,
                    7.8218,
                    7.6158,
                    7.7303,
                    7.2267,
                    7.8218,
                    7.4099,
                    7.7303,
                    7.9134,
                    8.4627,
                    8.7374,
                    8.7831,
                    8.6458,
                    8.6916,
                    8.8747,
                    8.7374,
                    8.6916,
                    8.8747,
                    9.2409,
                    9.4698,
                    9.6071,
                    9.3325,
                    9.218,
                    9.424,
                    9.2409,
                    9.1036,
                    9.2409,
                    9.1951,
                    8.9663,
                    9.1494,
                    9.0578,
                    9.1494,
                    9.1036,
                    9.0578,
                    9.1036,
                    9.2409,
                    9.1036,
                    10.2938,
                    10.2938,
                    10.2938,
                    10.2938,
                    10.2938,
                    10.2938,
                    10.2938,
                    10.2938,
                    10.2938,
                    10.2938,
                    10.2938,
                    10.2938,
                    10.2938,
                    10.2938,
                    10.2938,
                    10.2938,
                    10.2938,
                    10.2938,
            };
    public static double run(int gain)
    {
        return array[gain];
    }
}
